﻿using Abp.Application.Services.Dto;
using SingleUserMall.Common;
using SingleUserMall.Stores.Form;
using SingleUserMall.Stores.VO;
using SingleUserMall.Users.VO;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace SingleUserMall.Stores
{
    /// <summary>
    /// 店铺
    /// </summary>
    [Description("店铺")]
    public interface IStoreAppService : IAppService
    {
        /// <summary>
        /// 获取店铺列表
        /// </summary>
        /// <returns></returns>
        // Task<PagedResultDto<StoreViewVO>> GetStoresAsync(StoreViewForm form);
        /// <summary>
        /// 申请店铺
        /// </summary>
        /// <returns></returns>
        Task RegisterStoreAsync(StoreForm form);
        /// <summary>
        /// 获取用户收藏店铺
        /// </summary>
        /// <returns></returns>
        Task<PagedResultDto<UserStoreFavoriteVO>> GetUserFavoriteStoresAsync(PagedForm form);
        /// <summary>
        /// 收藏店铺
        /// </summary>
        /// <returns></returns>
        Task FavoriteStoreAsync(SingleId<int> form);
        /// <summary>
        /// 取消收藏店铺
        /// </summary>
        /// <returns></returns>
        Task NotFavoriteStoreAsync(SingleId<long> form);
        /// <summary>
        /// 获取申请店铺的状态
        /// </summary>
        /// <returns></returns>
        // Task<string> CheckApplyStoreStatus();
    }
}
